<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>G_make</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : May 1995</div>
    <p>
      <b>G_make</b> -  call make or nmake</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>Rfiles=G_make(files,dllname)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>files</b>
        </tt>: a character string or a vector of character string.</li>
      <li>
        <tt>
          <b>dllname</b>
        </tt>: a character string.</li>
      <li>
        <tt>
          <b>Rfiles</b>
        </tt>: vector of character string. <tt>
          <b>Rfiles</b>
        </tt> can be used as a first argument when calling <tt>
          <b>addinter</b>
        </tt> function.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    On Unix like systems (i.e unix or windows/gcwin32) <tt>
        <b>G_make</b>
      </tt> calls
    the <tt>
        <b>make</b>
      </tt> utility for building target <tt>
        <b>files</b>
      </tt> and returns
    the value of <tt>
        <b>files</b>
      </tt> in the variable <tt>
        <b>Rfiles</b>
      </tt>. On windows platforms, (i.e when
    Scilab was compiled with Microsoft VisualC++). <tt>
        <b>G_make</b>
      </tt> calls
    the <tt>
        <b>nmake</b>
      </tt> utility for building target <tt>
        <b>dllname</b>
      </tt> and it
    returns the value of <tt>
        <b>dllname</b>
      </tt> in the variable <tt>
        <b>Rfiles</b>
      </tt>. 
    Of course <tt>
        <b>G_make</b>
      </tt> will work if apropriate Makefiles are 
    provided in the current Scilab directory.</p>
    <p>
      <tt>
        <b>G_make</b>
      </tt> can be used to provide OS independant call to addinter. 
    and such examples can be found in the directory
    <tt>
        <b>SCIDIR/examples/addinter-examples</b>
      </tt>
    </p>
    <pre>

files=G_make([TMPDIR+'/ex1cI.o',TMPDIR+'/ex1c.o'],'ex1c.dll');// compilation 
addinter(files,'foobar','foubare'); // link 
   
    </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="../functions/addinter.htm">
        <tt>
          <b>addinter</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
